<?php
$ds = DIRECTORY_SEPARATOR;
$root_path = dirname(dirname(dirname(dirname(__FILE__))));
$paths = array();

// Doctrine
//$paths[] = 'path/to/Doctrine';

// Smart Library
$paths[] = "$root_path{$ds}library{$ds}";

// Zend Framework
$paths[] = 'C:/Program Files/Programovani/Zend/Core/phpLibs/';

set_include_path( implode(PATH_SEPARATOR, $paths) . PATH_SEPARATOR . get_include_path() );